package com.example.gty.service;

import com.example.gty.entity.Student;
import com.example.gty.entity.Teacher;
import com.example.gty.utils.ResultVo;
import org.springframework.web.bind.annotation.RequestBody;

import javax.xml.transform.Result;
import java.util.List;

public interface TeacherService {
    //查询老师所有信息及所交课程
    ResultVo selectAllTeacher();

    //关键字查询老师信息
    ResultVo selectTeaKey(String key);

    //修改老师基本信息
    ResultVo updateTeacher(Teacher teacher);
    //删除老师
    ResultVo deleteTeacher(String tno);
    //添加老师基本信息
    ResultVo addTeacher(Teacher teacher,String email);


    //添加老师所授课程
    ResultVo addTeacherCourse(String tno,String cno);

    //批量导入学生信息
    void importStudentInfo(List<Student> list);

}
